package com.shiguiwu.springmybatis.spring.autowired;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @description: 集合注入
 * @author: stone
 * @date: Created by 2021/3/15 15:07
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.autowired
 */
@Data
@Component
public class MyCollection {

    @Autowired
    private Set<C> cSet;

    @Autowired
    private Map<String, C> cMap;

    @Autowired
    private List<C> cList;


}
